Linear Algebra: Check if a set is a basis of R^3